<?php

namespace view;

class PageCompositionView {
		
	public function getBloggViewPage($content){
		return "<div id='container'>"
						.$this->getHeader()
						.$this->getBloggMenu()
						.$content
						.$this->getFooter();	
					"</div>";
	}
		
	//funktionerna kan vara privata då de enbart används inom denna klassen
	private function getHeader(){
		 return "<header>
						<div id='logga'></div>
					</header>";		
	}
	
	private function getBloggMenu(){
		return "<nav id='menu'>
					   <a class='homeButton' href='?".NavigationView::Controller."=".NavigationView::HomeController."' ></a>
					   <a class='pysselButton' href='?".NavigationView::Controller."=".NavigationView::CraftController."' ></a>
					   <a class='bloggButton' href='?".NavigationView::Controller."=".NavigationView::BloggController."' ></a>
					   <a class='grönafingrarButton' href='?".NavigationView::Controller."=".NavigationView::GreenFingerController."' ></a>
					   <a class='portfolioButton' href='?".NavigationView::Controller."=".NavigationView::PortfolioController."' ></a>
			   		</nav>";
	}
				
	private function getFooter(){
		return "<footer>
    					<p>m_landerhjelm[at].hotmail.com &copy; Madeleine Landerhjelm 2011</p>
					</footer>";
	}
	
}
